package com.hzhk.happyrent.ui.fragment.home;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.hzhk.happyrent.ui.fragment.BaseFragment;

/**
 * User: hzhk(1097282555@qq.com)
 * Date: 2017/11/22
 * Time: 16:29
 * progject: HappyRent
 * Describe： ${Describe}
 */
public abstract class HomeBaseFragment extends BaseFragment {
    protected abstract int getContentResource();
    @Override
    protected View getContentView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(getContentResource(), null);
    }
}
